from django.db import models

# Create your models here.


class Boy(models.Model):
    nick_name = models.CharField(max_length=32)
    user_name = models.CharField(max_length=32)
    pass_word = models.CharField(max_length=64)


class Girl(models.Model):
    nick_name = models.CharField(max_length=32)
    user_name = models.CharField(max_length=32)
    pass_word = models.CharField(max_length=64)


class B2G(models.Model):
    b = models.ForeignKey(to="Boy", to_field="id", on_delete=models.CASCADE)
    g = models.ForeignKey(to="Girl", to_field="id", on_delete=models.CASCADE)
